.class public Lcom/xingbook/ecloud/e/k;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Lcom/xingbook/ecloud/e/a;

.field private b:Lcom/xingbook/ecloud/e/a;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ecloud/e/s;F)V
    .locals 5

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/k;->setBackgroundColor(I)V

    const/high16 v0, 0x4208

    mul-float/2addr v0, p3

    float-to-int v0, v0

    invoke-virtual {p0, v1, v1, v1, v0}, Lcom/xingbook/ecloud/e/k;->setPadding(IIII)V

    const/high16 v0, 0x4180

    mul-float/2addr v0, p3

    float-to-int v0, v0

    const/high16 v1, 0x4150

    mul-float/2addr v1, p3

    float-to-int v1, v1

    new-instance v2, Lcom/xingbook/ecloud/e/a;

    invoke-direct {v2, p1, p3, p2}, Lcom/xingbook/ecloud/e/a;-><init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    new-instance v2, Lcom/xingbook/ecloud/e/a;

    invoke-direct {v2, p1, p3, p2}, Lcom/xingbook/ecloud/e/a;-><init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V

    iput-object v2, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/e/a;->getRealWidth()I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v4}, Lcom/xingbook/ecloud/e/a;->getRealHeight()I

    move-result v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v0, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v1, v2, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v3, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v3, v2}, Lcom/xingbook/ecloud/e/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {p0, v2}, Lcom/xingbook/ecloud/e/k;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v3, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v3}, Lcom/xingbook/ecloud/e/a;->getRealWidth()I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v4}, Lcom/xingbook/ecloud/e/a;->getRealHeight()I

    move-result v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xb

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v0, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v1, v2, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/ecloud/e/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/k;->addView(Landroid/view/View;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/xingbook/ecloud/b/b;Lcom/xingbook/ecloud/b/b;Z)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, p3, v1}, Lcom/xingbook/ecloud/e/a;->a(Lcom/xingbook/ecloud/b/b;ZI)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    const/4 v1, 0x2

    invoke-virtual {v0, p2, p3, v1}, Lcom/xingbook/ecloud/e/a;->a(Lcom/xingbook/ecloud/b/b;ZI)V

    return-void
.end method

.method public getNext()Lcom/xingbook/ecloud/e/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->b:Lcom/xingbook/ecloud/e/a;

    return-object v0
.end method

.method public getPrev()Lcom/xingbook/ecloud/e/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/k;->a:Lcom/xingbook/ecloud/e/a;

    return-object v0
.end method
